#pragma once


// CDlgHint dialog

class CDlgHint : public CDialog
{
	DECLARE_DYNAMIC(CDlgHint)

protected:
	int			m_id;
	CString		m_sHint;
	CRect		m_rect;
	CString		m_szFont;
	int			m_fntHeight;
	int			m_nTimer;

public:
	int			getId()	{return m_id;}
	void		display(CDC* pDC = NULL);

public:
	CDlgHint(int id, LPCTSTR szHint, LPRECT lpRect, LPCTSTR szFont, int fntHeight, CWnd* pParent = NULL);   // standard constructor
	virtual ~CDlgHint();

// Dialog Data
	enum { IDD = IDD_TOOLTIP };

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnPaint();
	afx_msg void OnTimer(UINT_PTR nIDEvent);
	virtual BOOL OnInitDialog();
	afx_msg void OnDestroy();
};
